import 'package:intl/intl.dart';

String toDate(DateTime date){
  if (date == null) return "";
  return DateFormat("yyyy-MM-dd").format(date);
}